﻿using CRM.Core.DataInterfaces;
using CRM.Core.Entities;
using CRM.Data;
using StructureMap;

namespace CRM.WinForms.Mapping
{
    class ClassMapping
    {
        public static void Configure()
        {
            ObjectFactory.Initialize(
                x => x.ForRequestedType<ICustomerRepository>()
                         .TheDefaultIsConcreteType<CustomerRepository>());

        }

    }
}